import request from '@/utils/request'
export const ArticleListAPI = params => {
  return request.get('/admin/interview/query', { params })
}

// 添加面经
export const addAtricleAPI = data => {
  return request.post('/admin/interview/create', data)
}

// 删除面经
export const delAtricleAPI = id => {
  return request.delete('/admin/interview/remove', { data: { id } })
}

// 获取单个面经详情信息
export const articleAPI = id => {
  return request.get('/admin/interview/show', { params: { id } })
}

// 修改提交
export const updateArticleAPI = data => {
  return request.put('/admin/interview/update', data)
}
